import Router from 'vue-router';
import ChatRoom from '../components/ChatRoom.vue'
import Vue from 'vue'


Vue.use(Router)

const router = new Router({
	mode: 'history',
    routes: [
        {
            path: '/chat',
            name: 'Chat',
            component: ChatRoom, // 替换为你的组件路径
        },
    ]
});

export default router;